package com.gxg.entities;

import java.sql.Timestamp;
import org.json.JSONObject;

public class ExperimentalDocument
{
  private String id;
  private String title;
  private String name;
  private String courseId;
  private Timestamp createTime;
  private Timestamp modificationTime;
  
  public String getId()
  {
    return this.id;
  }
  
  public void setId(String id)
  {
    this.id = id;
  }
  
  public String getTitle()
  {
    return this.title;
  }
  
  public void setTitle(String title)
  {
    this.title = title;
  }
  
  public String getName()
  {
    return this.name;
  }
  
  public void setName(String name)
  {
    this.name = name;
  }
  
  public String getCourseId()
  {
    return this.courseId;
  }
  
  public void setCourseId(String courseId)
  {
    this.courseId = courseId;
  }
  
  public Timestamp getCreateTime()
  {
    return this.createTime;
  }
  
  public void setCreateTime(Timestamp createTime)
  {
    this.createTime = createTime;
  }
  
  public Timestamp getModificationTime()
  {
    return this.modificationTime;
  }
  
  public void setModificationTime(Timestamp modificationTime)
  {
    this.modificationTime = modificationTime;
  }
  
  public String toString()
  {
    JSONObject jsonObject = new JSONObject();
    jsonObject.accumulate("id", this.id);
    jsonObject.accumulate("title", this.title);
    jsonObject.accumulate("name", this.name);
    jsonObject.accumulate("courseId", this.courseId);
    jsonObject.accumulate("createTime", this.createTime);
    jsonObject.accumulate("modificationTime", this.modificationTime);
    return jsonObject.toString();
  }
}
